home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 March / PCWorld_2002-03_cd.bin / Software / TemaCD / xteq / setup.exe / {app} / plugins / XQ Desktop NameSpace MyComp.xpl < prev    next >
Text File  |  2001-01-07  |  1KB  |  54 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="2"
  4. "UIPATH"="Appearance\Desktop\Icons\'My Computer' Options"
  5. "NAME"="'My Computer' name"
  6. "VERSION"="1.11"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Windows 9x/NT"
  9. "TEXT 2"="Windows 2000"
  10. "DESCRIPTION 1"="Use this plug-in to change the names of "My Computer" on your Windows desktop."
  11. "DESCRIPTION 2"="Please use the line that suits your OS."
  12. "DESCRIPTION 3"=""
  13. "AUTHOR"="Xteq Systems"
  14. "CONTACTURL"="http://www.xteq.com"
  15. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  16. "COMMENT 1"=" "
  17. "COMMENT 2"="Thanks to Justin Wood (JustinW396@Yahoo.com) for "My Computer" setting!"
  18.  
  19.  
  20.  
  21. Sub Plugin_Initialize 
  22.  s=RegReadValue("HKCU\Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\@")
  23.  SetUIElement 1,s
  24.  
  25.  s=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\@")
  26.  SetUIElement 2,s
  27. End Sub
  28.  
  29.  
  30. Sub Plugin_CheckData(ElementIndex)
  31. End Sub
  32.  
  33.  
  34.  
  35. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  36.  s=GetUIElement(1)
  37.  Call RegWriteValue("HKCR\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\@",s,1)
  38.  Call RegWriteValue("HKCU\Software\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\@",s,1)
  39.  
  40.  s=GetUIElement(2)
  41.  Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\@",s,1)
  42.  
  43.  
  44.  'Call IndicateSettingChange()
  45.  Call Logoff()
  46. End Sub
  47.  
  48.  
  49. Sub Plugin_Terminate 
  50. End Sub
  51.  
  52.  
  53.  
  54.